package cc.bookcloud.tool.ocr.common.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TableMeta {

    @ExcelProperty("表名:")
    private String tableName;
    // 描述
    private String describe;
    @ExcelProperty("操作类型:")
    private String opType;
    // 属性列表
    private List<ColumnProperty> propertyList = new ArrayList<>();

    public void add(ColumnProperty columnProperty) {
        propertyList.add(columnProperty);
    }

}
